<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<tpl> $NCharset </tpl>" />
<title><tpl> $langCShopNCSystem </tpl></title>
<tpl>include file ='sys_head_config.html'</tpl>
<link id="calCss" type="text/css" href="../js/calendar/blue/blue.css" rel="Stylesheet" />
<script type="text/javascript" src="../js/calendar/Calendar.js"></script>
</head>
<body>
<div class="tabbar">
  <ul class="tab_btns" id="COPYYH2">
    <li class="current"><a href="advertisement.manage.php?action=list"><span><tpl> $langOtherAdvManage </tpl></span></a></li>
    <li><a href="javascript:;" onclick="ShowDiv='result_content';getPageContent('advertisement.manage.php?action=add');ST(1,1);"><span><tpl> $langOtherAddAdv </tpl></span></a></li>
  </ul>
	<div class="tab_notes" id="copyyh0">
		<ul class="notesbg block"><span><h4>
		<div style="float:left">
		<tpl> $langOtherTransferAdvFashion </tpl>:&lt;script src=&quot;../html/js/<tpl> $langOtherTransferCode </tpl>.js&quot;&gt;&lt;/script&gt;	
			<tpl> $langOtherAdvAmendAnewCreateCache </tpl></div>
<div class="btn_left" style="margin-top:3px"><input type="button" value="<tpl> $langOtherAdvCreateCacheFile </tpl>" class="btn_submit" onclick="hideMessage();ajax_cache();" /></div></h4></span></ul>
		<ul class="notesbg"><span><h4></h4></span></ul>
	</div>
	<!-- 显示提示信息 -->
	<div id="message"></div>
	<!-- 显示提示信息end -->
</div>

<div id="product-help" class="admincp_form" style="top:88px;">


	<span style="color: #007dc6; font-weight:700; padding-left:76px"><tpl> $langOtherAddTypeLook </tpl>：</span> <select name="select_type" style="margin-left:3px; *margin-left:1px;" onchange="ajax_change(this.value);">
	
		<option value=""><tpl> $langOtherALL </tpl></option>
		<tpl> foreach from=$select_type item=one key=key </tpl>
		<option value="<tpl> $key </tpl>"><tpl> $one </tpl></option>
		<tpl> /foreach </tpl>
	</select>
	<table width="680" border="0" cellspacing="0" cellpadding="0">
       <tr style="height:1px;background-color: #E6F5FF;">
      
      </tr>
</table>

<div id="result_content">
			<span class="zhl_shop"><p><tpl> $langSysCToLoading </tpl></p>
	<img src="../templates/system_new/images/rel_interstitial_loading.gif" />
	</span>
</div>
</div>
<!-- 帮助菜单 -->
<tpl> include file='sys_right_help.html' </tpl>
<!-- 帮助菜单END -->
</body>
</html>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
	ShowDiv = "result_content";
	getPageContent("advertisement.manage.php?action=ajax_list");
});

function ajax_cache(){
	$.ajax({
		url: "advertisement.manage.php",
		data: 'action=make_cache',
		type:'post',
		dataType:"json",
		beforeSubmit:  showLoading(showText),
		success: function(msg){
			hideLoading();
			showMessage(msg.message,msg.type);
		}
	});
	return false;
}
//
function ajax_change(id){
	hideMessage();
	ShowDiv = "result_content";
	getPageContent("advertisement.manage.php?action=ajax_list&select_type="+id);
	
}
</script>